[. . . ] Reproduction, adaptation, or translation of this manual is prohibited without prior written permission of HewlettPackard Company, except as allowed under the copyright laws. Hewlett-Packard Company 4995 Murphy Canyon Rd, Suite 301 San Diego, CA 92123 Acknowledgements Hewlett-Packard would like to thank the following for their contribution: Gene Wright, Tony Hutchins, Wlodek Mier-Jedrzejowicz, Jordi Hidalgo, Ted Kerber, Joe Horn, Richard Nelson, Bruce Horrocks and Jake Schwartz. Printing History Edition 1 September 2005 Edition 1. 1 March 2006 Contents Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RPL Programming. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [. . . ] Level2 Level1 See also: obj DUP, DUPDUP, DUPN, DUP2 n obj . . . obj n NEG Type: Analytic function Description: Negate Analytic Function: Changes the sign or negates an object. Negating an array creates a new array containing the negative of each of the original elements. Negating a binary number takes its two's complement (complements each bit and adds 1). Negating a graphics object "inverts" it (toggles each pixel from on to off, or vice-versa). If the argument is PICT, the graphics object stored in PICT is inverted. W Flags: Numerical Results (-3), Binary Integer Wordsize (-5 through -10) Input/Output: Level 1/Argument 1 Level 1/Item 1 z #n1 [ array ] 'symb' x_unit grob1 PICT1 z #n2 [ array ] '(symb)' x_unit grob2 PICT2 See also: ABS, CONJ, NOT, SIGN NEWOB Type: Command Description: New Object Command: Creates a new copy of the specified object. NEWOB has two main uses: NEWOB enables the purging of a library or backup object that has been recalled from a port. NEWOB creates a new, separate copy of the object in memory, thereby allowing the original copy to be purged. Full Command and Function Reference 3-109 Creating a new copy of an object that originated in a larger composite object (such as a list) allows you to recover the memory associated with the larger object when that larger object is no longer needed. !MEMORY NEWOB ( is the left-shift of the Nkey). In order for NEWOB to immediately release the memory occupied by the original copy, flag -55 must be set so that the copy is not saved as a last argument. Input/Output: Access: Flags: Level 1/Argument 1 Level 1/Item 1 obj obj See also: MEM, PURGE NEXT Type: Command Description: NEXT Command: Ends definite loop structures. Input/Output: Level 1/Argument 1 Level 1/Item 1 objsymb z See also: EVAL NUM Type: Command Description: Character Number Command: Returns the character code n for the first character in the string. The number of a character can be found by accessing the Characters tool (. . . ) and highlighting that character. . . . &N NUM Input/Output: Level 1/Argument 1 Level 1/Item 1 See also: "string" CHR, POS, REPL, SIZE, SUB n NUMX Type: Command Description: Number of X-Steps Command: Sets the number of x-steps for each y-step in 3D perspective plots. The number of x-steps is the number of independent variable points plotted for each dependent variable point plotted. NUMX Input/Output: Level 1/Argument 1 Level 1/Item 1 nx See also: NUMY NUMY Type: Command Description: Number of Y-Steps Command: Sets the number of y-steps across the view volume in 3D perspective plots. The number of y-steps is the number of dependent variable points plotted across the view volume. NUMY Input/Output: Level 1/Argument 1 Level 1/Item 1 ny See also: NUMX 3-112 Full Command and Function Reference OBJ Type: Command Description: Object to Stack Command: Separates an object into its components. For some object types, the number of components is returned as item n+1 (stack level 1). If the argument is a complex number, list, array, or string, OBJ provides the same functions as CR, LIST, ARRY, and STR, respectively. If the argument is an array, OBJ also returns the dimensions { m n } of the array, where m is the number of rows and n is the number of columns. For algebraic objects, OBJ returns the arguments of the top-level (least-nested) function (arg1 . . . [. . . ] This list assumes that library 256 is attached, flag -95 is off, and flag -117 is set. SYNTAX EXAMPLES: !(key ALPHA-RS-2; MTH NXT PROB) This means that you can either press [ALPHA] [RIGHT-SHIFT] [2] or press [MTH] [NXT] [PROB] [!] to get the !+ (key 95. 1) This means that [+] is on the keyboard in row 9, column 5. The . 1 means unshifted; . 2 means left-shifted; . 3 means right-shifted; . 4 means alpha-shifted; . 5 means alpha-left-shifted; and . 6 means alpha-right-shifted. [. . . ]